#ifndef __DRI_MQTT_H__
#define __DRI_MQTT_H__

#include "esp_event.h"
#include "esp_netif.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "nvs_flash.h"
#include "protocol_examples_common.h"
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/semphr.h"
#include "freertos/task.h"

#include "lwip/dns.h"
#include "lwip/netdb.h"
#include "lwip/sockets.h"

#include "esp_log.h"
#include "mqtt_client.h"

#define ACTION_AUDIO_VIDEO_NO 0
#define ACTION_AUDIO_ESP2CLIENT_ON 1
#define ACTION_AUDIO_ESP2CLIENT_OFF 2
#define ACTION_AUDIO_CLIENT2ESP_ON 3
#define ACTION_AUDIO_CLIENT2ESP_OFF 4
#define ACTION_VIDIO_ESP2CLIENT_ON 5
#define ACTION_VIDIO_ESP2CLIENT_OFF 6

// 初始化
void Dri_MQTT_Init(void);

#endif /* __DRI_MQTT_H__ */
